package com.hewanning.toy.play.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author robin_he
 * @date 2020/1/14
 */
@Data
public class LoginDto implements Serializable {

    private static final long serialVersionUID = 6753716557831929797L;
    @NotBlank(message = "登陆名称不能为空")
    private String loginName;
    @NotBlank(message = "密码不能为空")
    private String password;
}
